package alingrad.engine.core;

import android.content.Context;
import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView;
import android.util.AttributeSet;

public class GameSurfaceView extends GLSurfaceView {

	public GameSurfaceView(Context context, AttributeSet attrs) {
		super(context, attrs);
		setEGLConfigChooser(8, 8, 8, 8, 0, 0);
        getHolder().setFormat(PixelFormat.RGBA_8888);
	}

	public GameSurfaceView(Context context) {
		super(context);
		setEGLConfigChooser(8, 8, 8, 8, 0, 0);
        getHolder().setFormat(PixelFormat.RGBA_8888);
	}
}
